//
//  MUTCurveView.h
//  Demo
//
//  Created by shiji on 14-7-24.
//  Copyright (c) 2014年 shiji. All rights reserved.
//

#import <UIKit/UIKit.h>
 struct WavePeak {
    int firstZero;
    int middlePick;
    int lastZero;
};


@protocol MUTCurveDelegate <NSObject>
@optional
- (void)oneStep;

@end

@interface MUTCurveView : UIView

@property (nonatomic, assign) CGFloat inputData;
@property (nonatomic, strong) NSMutableArray *dataArr;
@property (nonatomic, strong) UILabel *titleLabel;
@property (readwrite) CGFloat velocity;



@property (nonatomic, assign) id <MUTCurveDelegate>delegate;
@property (nonatomic, assign)  NSInteger  firstZero;
@property (nonatomic, assign)  NSInteger middlePick;
@property (nonatomic, assign)  NSInteger lastZero;
@end
